# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mapbox-gl-qml
pkgver=1.7.5
pkgrel=0
pkgdesc="QML bindings for Mapbox"
url="https://github.com/rinigus/mapbox-gl-qml"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
license="LGPL-3.0-only"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtlocation-dev mapbox-gl-native-dev"
source="https://github.com/rinigus/mapbox-gl-qml/archive/$pkgver/mapbox-gl-qml-$pkgver.tar.gz"
options="!check" # No tests

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="34be4fccc7790d1ccf619da9f368cde3466717a7b4c8479f53ba5885a5e889d18de50ccd02be91438e2c879406bd21f79a3d50677be03edac89d7f24cca96b17  mapbox-gl-qml-1.7.5.tar.gz"
